package com.future.direction.ui.activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;

import com.future.direction.R;
import com.future.direction.di.component.AppComponent;
import com.future.direction.ui.widget.MyTitleBar;

import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * 绑定银行卡1
 */
public class BindingBankCardFristActivity extends BaseActivity implements View.OnClickListener {


    @BindView(R.id.titleBar)
    MyTitleBar titleBar;
    @BindView(R.id.et_card_number)
    EditText etCardNumber;
    @BindView(R.id.et_bank_name)
    EditText etBankName;
    @BindView(R.id.et_bank_address)
    EditText etBankAddress;
    @BindView(R.id.button_next)
    Button buttonNext;

    @Override
    public int setLayout() {
        return R.layout.activity_binding_bank_card_frist;
    }

    @Override
    public void getExtras() {

    }

    @Override
    public boolean init() {
        return false;
    }

    @Override
    public void setListener() {
        backListener(titleBar);
        buttonNext.setOnClickListener(this);
    }

    @Override
    public void setupAcitivtyComponent(AppComponent appComponent) {

    }


    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.button_next:
                Intent intent = new Intent(BindingBankCardFristActivity.this, BindingBankCardSecondActivity.class);
                startActivity(intent);
                break;
        }
    }
}
